

import Vue from 'vue'
const _this = new Vue()

export const deletemodal = async () => {
  const res = await _this.$confirm(
        "此操作将永久删除全部子码, 是否继续?",
        "提示",
        {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "warning",
        }
      ).catch((err) => err);
      if (res !== "confirm") {
         _this.$message.info("已取消删除");
         return false
      }
      return true
}